package com.mysoft.gfyx.marketdevelop.controller.dto;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonProperty;
import jdk.nashorn.internal.objects.annotations.Property;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.UUID;

@Data
public class GetRecommendSearchTemplateDetailResponseDto {

    private UUID recommendSearchTemplateGUID;

    /**
     * 模板描述
     */
    private String templateDesc;

    /**
     * 实体类型
     */
    private String entityType;

    /**
     * 筛选条件
     */
    private String filter;

    /**
     * 筛选条件jsonObject
     */
    private JSONObject filterJson;
    /**
     * 是否启用
     */
    private Integer isEnable;

    /**
     * 模板名称
     */
    @JsonProperty("templateName")
    private String name;

    /**
     * 推荐搜索模板分类GUID
     */
    @JsonProperty("categoryGUID")
    private UUID recomSearchTemplateCategoryGUID;

    /**
     * 排序
     */
    private Integer sort;
    private String createdName;
    private Date createdTime;
    private int useCount;

}
